//
//  ZJKDiscoverViewController.swift
//  MicroBlog
//
//  Created by VAD on 16/4/16.
//  Copyright © 2016年 朱江坤. All rights reserved.
//

import UIKit

class ZJKDiscoverViewController: ZJKVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if !userlogin{
            
            visitorView.setVisitorInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            
            return
        }

        let searchView = ZJKSearchView.searchView()
        
        searchView.frame.size.width = UIScreen.mainScreen().bounds.width
        
        navigationItem.titleView = searchView
        
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    


}
